{php  $navAll=1;}
{template 'header'}

<!--广告-->
<div id="topshow" class="full">
    <div class="wrap">
        <div class="left fl">  </div>
        <div class="center fl">
            {ad(1)}
            <div class="special mt-10">
                 <div class="help-tab">
                    <div class="hd">
                        <ul class="clearfix">
                         	<b class="fl">热门推荐</b>
                            <li class="on">行业设备</li>
                            <li>商务服务</li>
                            <li>五金工具</li>
                            <li>电工电气</li>
                            <li>橡胶</li>
                        </ul>
                    </div>
                    <div class="bd  ptabs_box fr">
                        <!--{tag("moduleid=$moduleid&catid=1&condition=status=3&pagesize=2&order=addtime desc&template=list-sell-hot1")}-->  
                        <!--{tag("moduleid=$moduleid&catid=4&condition=status=3&pagesize=2&order=addtime desc&template=list-sell-hot1")}-->  
                        <!--{tag("moduleid=$moduleid&catid=8&condition=status=3&pagesize=2&order=addtime desc&template=list-sell-hot1")}-->  
                        <!--{tag("moduleid=$moduleid&catid=13&condition=status=3&pagesize=2&order=addtime desc&template=list-sell-hot1")}-->  
                        <!--{tag("moduleid=$moduleid&catid=14&condition=status=3&pagesize=2&order=addtime desc&template=list-sell-hot1")}-->  
                                
                    </div>
                </div>
            </div>
        </div>

 
        <div class="right fr">
        	     
                <div class="help-tab">
                    <div class="hd">
                        <ul class="clearfix">
                           
                            <li class="on">我是供应商</li>
                            <li>我是采购商</li>
                        </ul>
                    </div>
                    <div class="bd">
                         <ul class="Control">
                            <li class="Themebghover"><a href="{$MODULE[2][linkurl]}{$DT[file_my]}?mid=5&action=add" target="_blank" rel="nofollow">发布产品</a></li>
                            <li class="Themebghover"><a href="{DT_PATH}member/home.php" target="_blank" rel="nofollow">商铺管理</a></li>
                            <li class="Themebghover"><a href="{DT_PATH}member/my.php?mid=5" target="_blank" rel="nofollow">报价管理</a></li>
                            <li class="Themebghover"><a href="{$MODULE[2][linkurl]}message.php?action=send" target="_blank" rel="nofollow">商铺留言</a></li>
                            <a href="{$MODULE[2][linkurl]}message.php" class="btn Themebg mt-10" target="_blank" rel="nofollow">收到的询价单</a>
                        </ul>
                        <ul class="Control">
                            <li class="Themebghover"><a href="{$MODULE[2][linkurl]}{$DT[file_my]}?mid=6&action=add" target="_blank" rel="nofollow">发布采购单</a></li>
                            <li class="Themebghover"><a href="{DT_PATH}member/home.php" target="_blank" rel="nofollow">商铺管理</a></li>
                            <li class="Themebghover"><a href="{DT_PATH}member/my.php?mid=6" target="_blank" rel="nofollow">管理采购单</a></li>
                            <li class="Themebghover"><a href="{$MODULE[2][linkurl]}message.php?action=send" target="_blank" rel="nofollow">商铺留言</a></li>
                            <a href="{$MODULE[2][linkurl]}message.php" class="btn Themebg mt-10" target="_blank" rel="nofollow">发布的采购单</a>
                        </ul>                
     				</div>
                </div>
               
                 <!--统计数据-->
                 <div class="help-tab">
                    <div class="hd">
                        <ul class="clearfix">
                           
                            <li class="on">已发产品</li>
                            <li>入驻企业</li>
                        </ul>
                    </div>
                    <div class="bd num box4 mt10 t-content OrangeFont">
                         <ul>
                             已发产品数：<li>{php echo number_format(242332333+($db->count($DT_PRE.'sell_5', 'status=3', 1800)));} </li>
                        </ul>
                        <ul>
                              累计入驻企业数：<li>{php echo $db->count($DT_PRE.'company', '1', 1800);}</li>
                        </ul>                
                    </div>
                </div>
        	 <!--产品头条-->
            <dl class="pro-news">
                <dt class="pititle">最新产品</dt>
                					<!--{tag("moduleid=$moduleid&condition=status=3&areaid=$cityid&pagesize=7&target=_blank&order=addtime desc&template=list")}-->
                 
            </dl>
 
             
        </div>
    </div>
</div>
<!--产品楼层开始-->
 		
<div class="layout">
    <div class="wrap">
    	 
        {php $child = get_maincat(0, $moduleid, 1);}
         {loop $child $i $c}
          <!-- {$i+1}楼--> 
    
        <div class="cBanner mt-20 ">
            <a target='_blank'><img class="img100" src="{DT_SKIN}ad/cbanner.jpg" alt=""></a>
        </div>
        <div class="building company_list_box">
            <h3 class="jh_title f14 clearfix company_listmenu">
                <span class="fl Themebg white f20 mr-10">{$i+1}F</span>
                <p class="fl overflow">{$c[catname]}</P>
                <a href="{DT_PATH}member/register.php" class="ml-20 Themefont fr f12" target="_blank" rel="nofollow">免费加入{$c[catname]}供应</a>
                <div class="fl classifiBuilding ">
                    <ul class="company_topmenu">
                    	{php $sub = get_maincat($c[catid], $child, 1);}
              			{loop $sub $j $s}
                         <li id='top_{$s[catid]}' {if $j==0}class="active"{/if}>
                            <a class="pd-5 Themetxthover jh_title " target='_blank' title="{$s[catname]}">{$s[catname]}</a>                     	</li>
                         {/loop}
                    </ul>
                    {php $sub = get_maincat($c[catid], $child, 1);}
              			{loop $sub $j $s}
                    <div class="clearfix overflow CompanyClass" id="class_{$s[catid]}" style='{if $j==0}display:block;{else}display:none;{/if}'>
                    	
                    	{php $subs = get_maincat($s[catid], $sub, 1);}
                         {loop $subs $k $m}
                      <a href="{$MODULE[$moduleid][linkurl]}{$m[linkurl]}" class="Themetxthover" target="_blank" title="{$m[catname]}">{$m[catname]}</a>
                      	{/loop}
                      </div> 
                      {/loop}
               </div>
            </h3>
            <div class="buildingBox pibox clearfix">
                <div class="fl ml-10 piimgbox productBox">
                    <div class="borderbd pb-10 ">
                       <a href="###" target="_blank" rel="nofollow"><img src="{DT_SKIN}ad/zhaozu.jpg"></a>
                   	</div>
                    
                    <div class="piproductNew pb-10">
                        <div class="piproductNewtitle fw f14">最新加入产品信息</div>
                         <!--{tag("moduleid=$moduleid&catid=".$c[catid]."&condition=status=3&areaid=$cityid&pagesize=7&target=_blank&order=addtime desc&template=list-ul")}-->
                    </div>
                </div>
                <div class="fl productrightimgbox">
                	{php $sub = get_maincat($c[catid], $child, 1);}
              		{loop $sub $j $s}
                    <ul class="productrightimg clearfix" id='product_{$s[catid]}'style='{if $j==0}display:block;{else}display:none;{/if}'>
                    		<!--{php $tags=tag("moduleid=$moduleid&catid=".$s[catid]."&condition=status=3&areaid=$cityid&pagesize=7&target=_blank&order=addtime desc&template=null")}-->
                            {loop $tags $k $t}
                      <li>
                            <a href="{$t[linkurl]}" target='_blank'><img src="{str_replace('thumb', 'middle', $t[thumb])}" alt="{$t[alt]}">
                            <div class="name" title="{$t[title]}">{$t[title]}</div>
                            <div class="colorred fw">{if $t[unit] && $t[price]>0}
							<span class="red">{$t[price]}/{$t[unit]}</span><br/>
							{$t[minamount]}{$t[unit]}起订<br/>
								{else}
								<span class="red">价格面议</span><br/>
							{/if}</div>
                            </a>
                        </li> 
                        {/loop}
                     </ul>
                     {/loop}
                </div>
            </div>
        </div>
         {/loop}
        
   	</div>
</div>

 

<!--友情链接-->
<div class="ibox full">
    <div class="wrap">
        <div class="header">
            <h3>友情链接</h3>
        </div>
        <div class="friendlink">
       <ul class="clearfix lianjie">
</ul>
<ul class="clearfix lianjie">
<li ><a href="http://www.cainiaoboon.com/sell/" target="_blank" title="">免费发布信息平台</a></li>
<li ><a href="http://www.cainiaoboon.com/sell/" target="_blank" title="">供应信息网</a></li>
<li ><a href="http://www.cainiaoboon.com/sell/" target="_blank" title="">免费发布供应信息</a></li>
<li ><a href="http://www.cainiaoboon.com/sell/" target="_blank" title="">中国产品网</a></li>
</ul>
        </div>
    </div>
</div>
 

{template 'footer'}